/*
 * @Author: your name
 * @Date: 2021-12-25 15:07:14
 * @LastEditTime: 2021-12-25 15:47:47
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \yanxuan_2118\src\views\Home\home.js
 */
export default {
    name:'home',
    data(){
        return{
            msg:'我是home组件'
        }
    },
    /*
        一年
        created() {
            this.$httpPlugin
                .get('/test/first')
                .then(res =>console.log(res))
        },
    */
    // 三年
    async created() {
        const res = await this.$get('/test/second')
        console.log(res)
    },
}